using System.Drawing;
using System.Drawing.Imaging;
using Microsoft.DirectX.Direct3D;
using RPGOnline.Rendering;

namespace RPGOnline.Controls.Map.Layers
{
    public class OverlayLayer : MapLayer
    {

        public OverlayLayer(Renderer renderer, Map map) 
			: base(renderer, "Overlay", map)
        {
        }

		protected override void DrawTile(MapCell tile, int x, int y, bool withTexture = true)
        {
            if (tile.Frames.Count == 0)
                return;

            tile.Frame.Draw(m_renderer, x, y, withTexture, 200);
        }
    }
}